SELECT *, CASE WHEN `name` LIKE "red hook%" AND `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "red hook" AND `logo_file_name` IS NOT NULL THEN 10 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "red hook" AND `logo_file_name` IS NOT NULL THEN 2 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` = "red hook" AND `logo_file_name` IS NULL THEN 1 WHEN `sub_cat` IS NULL AND `cat` IS NULL AND `locality` IS NULL AND `logo_file_name` IS NULL THEN 0 END as `rank` FROM `wp_slides` WHERE st = "NY" AND (locality IN ("red hook") OR locality IS NULL) AND (cat IS NULL) AND name NOT IN ("home-top", "home-bot") AND (slide_file_name IS NOT NULL AND slide_file_name != "") AND (slide_location IS NULL OR slide_location = "") AND name NOT IN ("agent") AND active = 1 ORDER BY `rank` DESC LIMIT 12
[0] matching rows / [0.00 msec]
Blog ID 55
Blah
SELECT *, "0" as `rank` FROM `wp_slides` WHERE st = "NY" AND (cat IS NULL) AND (slide_file_name IS NOT NULL AND slide_file_name != "") AND (slide_location IS NULL OR slide_location = "") AND active = 1 ORDER BY `rank` DESC LIMIT 12
[0] matching rows / [0.00 msec]
Blog ID 55
Blah
$1,900,000917 River RdRed Hook NY 12571View Listing
$1,799,0001598 Jackson Corners RdRed Hook NY 12571View Listing
$1,495,000274 Spring Lake RdRed Hook NY 12571View Listing
$995,00067 Spring Lake RdRed Hook NY 12571View Listing
$995,000172 Shields RdRed Hook NY 12571View Listing
$949,90030 Battenfeld RdRed Hook NY 12571View Listing
$898,000288 W Market StRed Hook NY 12571View Listing
$799,99930 Old Post Rd NRed Hook NY 12571View Listing
$799,00072 Willow Glen RdRed Hook NY 12571View Listing
$765,00080 Carriage DrRed Hook NY 12571View Listing
$725,00042 Whalesback RdRed Hook NY 12571View Listing
$679,000245 Route 199Red Hook NY 12571View Listing
$650,0007589 Old Post RdRed Hook NY 12571View Listing
The data relating to real estate for sale on this site comes from ListHub. All properties are subject to prior sale, changes, or withdrawal. This site was last updated May-09-2024 1:22:43 am.
SELECT *, "0" as `rank` FROM `wp_slides` WHERE st = "NY" AND (cat = "lenders" OR cat IS NULL) AND (slide_file_name IS NOT NULL AND slide_file_name != "") AND (slide_location IS NULL OR slide_location = "") AND active = 1 ORDER BY `rank` DESC LIMIT 12
[0] matching rows / [0.00 msec]
Blog ID 55
Blah